/**
 * @Description: test
 * @Author: Hu Outstanding
 * @Date: 2022/2/9 16:05
 */
package com.aaa.three.pojo.query;

import lombok.Data;

@Data
public class BaseQuery {

    private Integer pageNO;
    private Integer pageCount;

    public Integer getIndex(){
        return (pageNO - 1)*pageCount;
    }

}
